package com.kim.logs.core;

import com.kim.logs.bean.OperatorLog;
import com.kim.logs.core.provider.LogAppendeServiceManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class OptLogService {

    @Autowired
    private LogAppendeServiceManager manager;

    public void saveLog(OperatorLog optLog) {
        manager.append(optLog);
    }

}
